package JavaBasis;

public class HomeWork05 {
	public static void main(String[] args){
		for (int i = 10000; i<100000; i++){
			if (i%10 == i/10000 && i%10000/1000 == i%100/10){
				System.out.println(i);
			}
		}
	}
}
